package org.springblade.modules.platform.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class EquiomentControlVO {

	@ApiModelProperty(value = "设备信息执行集合")
	private List<EquipmentTypeExecuteVO> equipmentTypeExecuteVO;

	@NoArgsConstructor
	@Data
	public static class EquipmentTypeExecuteVO {

		/**
		 * 设备编号
		 */
		@ApiModelProperty(value = "设备编号")
		private String equipmentId;

		@ApiModelProperty(value = "功能物模型字段值")
		private List<FunctionalFieldVO> functionalFieldListVO;
		@NoArgsConstructor
		@Data
		public static class FunctionalFieldVO {
			@ApiModelProperty(value = "功能物模型ID")
			private String key;
			@ApiModelProperty(value = "功能物模型name")
			private String name;
			@ApiModelProperty(value = "功能物模型value")
			private String value;
			@ApiModelProperty(value = "子集")
			private List<FunctionalFieldVO> functionalFieldVOS;

		}
	}
}
